package com.example.scenictourback.service;

import com.example.scenictourback.dto.ScenicSpotDTO;
import com.example.scenictourback.entity.ScenicSpot;

import java.util.List;

public interface ScenicSpotService {
    
    List<ScenicSpotDTO> listScenicSpotsByScenicAreaId(Integer scenicAreaId);
    
    ScenicSpotDTO getScenicSpotById(Integer id);
    
    List<ScenicSpotDTO> searchScenicSpotsByName(String name);
    
    ScenicSpotDTO addScenicSpot(ScenicSpot scenicSpot);
    
    ScenicSpotDTO updateScenicSpot(Integer id, ScenicSpot scenicSpot);
    
    void deleteScenicSpot(Integer id);
} 